<?php
namespace app\user\controller;
use think\Input;
use think\Controller;
use think\Lang;
use think\Config;
use think\Cookie;
use app\common\controller\Base;
class Common extends Base{
    protected $userInfo;
    public function _initialize(){
        parent::_initialize();
        $this->assign('lang', $this->lang);
    }
    public function _empty(){
        return $this->error('空操作，返回上次访问页面中...');
    }
    //退出登陆
    public function logout(){
        session('user',null);
        $this->redirect('login/index');
    }
   
}